package com.sohoometer;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class JobImpl implements Job{

	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		Date nextFireTime = context.getNextFireTime();
		DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		System.out.println("一笔绘残骸，末日将才，谁惹天下醉！"+dateFormat.format(nextFireTime));		
	}

}
